package com.cdxy.enums.mq;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: tangy
 * @Date: 2020/6/10 12:51
 */
@AllArgsConstructor
@Getter
public enum RabbitRoutingKeyEnum {
    BUSINESS_QUEUE_A("businessQueueA", RabbitExchangeEnum.BUSINESS, "业务队列A"),
    BUSINESS_QUEUE_B("businessQueueB", RabbitExchangeEnum.BUSINESS, "业务队列B"),
    DEAD_LETTER_QUEUE_A("deadLetterQueueA", RabbitExchangeEnum.DEAD_LETTER, "死信队列A"),
    DEAD_LETTER_QUEUE_B("deadLetterQueueB", RabbitExchangeEnum.DEAD_LETTER, "死信队列B"),

    DELAY_BUSINESS_QUEUE_A("delayBusinessQueueA", RabbitExchangeEnum.DELAY_BUSINESS, "延迟队列业务A"),
    DELAY_BUSINESS_QUEUE_B("delayBusinessQueueB", RabbitExchangeEnum.DELAY_BUSINESS, "延迟队列业务B"),
    DELAY_DEAD_LETTER_QUEUE_A("delayDeadLetterQueueA", RabbitExchangeEnum.DELAY_DEAD_LETTER, "延迟队列死信队列A"),
    DELAY_DEAD_LETTER_QUEUE_B("delayDeadLetterQueueB", RabbitExchangeEnum.DELAY_DEAD_LETTER, "延迟队列死信队列B"),
    ;

    private String code;
    private RabbitExchangeEnum exchangeEnum;
    private String desc;
}
